using UnityEngine;

namespace UFrame.MapJson
{
    public class TriggerEventInfo
    {
        public int id;
        public string triggerid;
        public string param;
        public Vector3 position;
        public float type;
        public string note;
        public GameObject go;
        public Vector3 scale;
        public Vector3 rot;
        public int delay;

        public TriggerEventInfo()
        {
            id = default(int);
            triggerid = "";
            param = "";
            note = "";
            position = Vector3.zero;
            scale = Vector3.one;
            rot = Vector3.zero;
            go = null;
            delay = 0;
        }
    }

    public class TriggerEventJsonInfo
    {
        public int id;
        public string triggerid;
        public string param;
        public int type;
        public MapJson.MyVector3 pos;
        public MapJson.MyVector3 scale;
        public MapJson.MyVector3 rot;
        public int delay;
    }

}